package edu.purdue.cs505;

public class Receiver
{

  private static String SENDER_IP = "128.10.25.110";
  private static String RECEIVER_IP = "128.10.25.111";
  static int senderPort = 8001;
  static int receiverPort = 8002;
   static ReliableChannelImpl receiver;

   public static void main(String[] args)
   {
      receiver = new ReliableChannelImpl(RECEIVER_IP, receiverPort);
      receiver.init(SENDER_IP, senderPort);
      receiver.rlisten(new PrintingReceiver());
      while (true);
   }
}
